Skip to content

🔥 remove duplicate license file#1

Merged
garak merged 1 commit into
mainfrom
remove-license
Apr 24, 2026
Merged

🔥 remove duplicate license file#1
garak merged 1 commit into
mainfrom
remove-license

Conversation

@garak
Copy link
Copy Markdown
Member

@garak garak commented Apr 23, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 23, 2026 07:27
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes a duplicate license file while also updating static analysis configuration, CI behavior, and dev dependency constraints.

Changes:

  • Remove LICENSE.md (keeping the existing LICENSE file).
  • Update PHPStan config to include bleeding-edge rules.
  • Bump dev tooling versions and tweak the GitHub Actions PHPStan job environment.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
phpstan.neon Adds PHPStan bleedingEdge.neon include.
composer.json Updates dev dependency version constraints (PHP-CS-Fixer, PHPUnit).
LICENSE.md Deletes the duplicate MIT license file.
.github/workflows/build.yaml Removes REQUIRE_DEV env from the PHPStan action invocation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread composer.json
Comment thread phpstan.neon
- run: |
sed -e :a -e '$d;N;2,3ba' -e 'P;D' phpstan.neon > phpstan2.neon && mv phpstan2.neon phpstan.neon
- name: PHPStan
uses: docker://oskarstark/phpstan-ga
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PHPStan job no longer sets REQUIRE_DEV: true, and there is no explicit composer install step in this job. If oskarstark/phpstan-ga defaults to installing dependencies without dev packages, the analysis may fail because phpstan.neon includes files under vendor/ (e.g., strict rules / bleedingEdge). Either restore REQUIRE_DEV: true or add an explicit dependency install step that includes dev dependencies so the referenced vendor/ files are present.

Suggested change
uses: docker://oskarstark/phpstan-ga
args: analyse
env:
REQUIRE_DEV: true

Copilot uses AI. Check for mistakes.
@garak garak merged commit 7993857 into main Apr 24, 2026
6 checks passed
@garak garak deleted the remove-license branch April 24, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants